package request

import (
	"gitee.com/cjsn/topsdk/util"
)

type AlibabaSscSupplyplatformServicestoreOfflineRequest struct {
	/*
	   网点编码列表集合,最大支持1000     */
	ServiceStoreCodeList *[]string `json:"service_store_code_list,omitempty" required:"false" `
	/*
	   网点id列表集合,最大支持1000     */
	ServiceStoreIdList *[]int64 `json:"service_store_id_list,omitempty" required:"false" `
}

func (s *AlibabaSscSupplyplatformServicestoreOfflineRequest) SetServiceStoreCodeList(v []string) *AlibabaSscSupplyplatformServicestoreOfflineRequest {
	s.ServiceStoreCodeList = &v
	return s
}
func (s *AlibabaSscSupplyplatformServicestoreOfflineRequest) SetServiceStoreIdList(v []int64) *AlibabaSscSupplyplatformServicestoreOfflineRequest {
	s.ServiceStoreIdList = &v
	return s
}

func (req *AlibabaSscSupplyplatformServicestoreOfflineRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ServiceStoreCodeList != nil {
		paramMap["service_store_code_list"] = util.ConvertBasicList(*req.ServiceStoreCodeList)
	}
	if req.ServiceStoreIdList != nil {
		paramMap["service_store_id_list"] = util.ConvertBasicList(*req.ServiceStoreIdList)
	}
	return paramMap
}

func (req *AlibabaSscSupplyplatformServicestoreOfflineRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
